package com.huluobo.h3kotlindemo.category

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.huluobo.h3kotlindemo.R

/**
 *  Created by LC on 2023/11/7.
 */
class CategoryParentAdapter(list: MutableList<CategoryBean>) :
    BaseQuickAdapter<CategoryBean, BaseViewHolder>(R.layout.item_category_parent, list) {
    override fun convert(holder: BaseViewHolder, item: CategoryBean) {
        holder.setText(R.id.category_paret_item_tv_name, item.category_name)
    }
}